.message-page {
  padding: 0;
  height: 100vh;
  background-color: #f5f5f5;
}

.message-tabs {
  height: 100%;

  .nut-tabs__titles {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .nut-tabs__content {
    padding: 0;
    height: calc(100% - 44px);
    overflow-y: auto;
  }
}

.message-list {
  padding: 10px;
}

.message-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);

  &.unread {
    background-color: #f0f9eb;
  }
}

.message-content {
  .message-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8px;
  }

  .message-text {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .message-time {
    font-size: 12px;
    color: #999;
    display: block;
  }
}

.unread-dot {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #f56c6c;
}

.chat-list {
  padding: 10px;
}

.chat-item {
  display: flex;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chat-avatar {
  position: relative;
  margin-right: 15px;
}

.avatar-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: #f56c6c;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
}

.chat-info {
  flex: 1;
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.chat-name {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.chat-time {
  font-size: 12px;
  color: #999;
}

.chat-message {
  font-size: 14px;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
} 